[INFO] cloning repository https://github.com/oeb25/rustgame
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oeb25/rustgame" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foeb25%2Frustgame", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foeb25%2Frustgame'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6e182bf0235dc082248a44dc1565f7053f45109e
[INFO] checking oeb25/rustgame against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foeb25%2Frustgame" "/workspace/builds/worker-12/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/oeb25/rustgame on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/oeb25/rustgame
[INFO] finished tweaking git repo https://github.com/oeb25/rustgame
[INFO] tweaked toml for git repo https://github.com/oeb25/rustgame written to /workspace/builds/worker-12/source/Cargo.toml
[INFO] crate git repo https://github.com/oeb25/rustgame already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr] error: the lock file /workspace/builds/worker-12/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 8ec980fdae1e9635a130d506d9691c01ee06bb50520df4fe14c5c89ea313e384
[INFO] running `Command { std: "docker" "start" "-a" "8ec980fdae1e9635a130d506d9691c01ee06bb50520df4fe14c5c89ea313e384", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8ec980fdae1e9635a130d506d9691c01ee06bb50520df4fe14c5c89ea313e384", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8ec980fdae1e9635a130d506d9691c01ee06bb50520df4fe14c5c89ea313e384", kill_on_drop: false }`
[INFO] [stdout] 8ec980fdae1e9635a130d506d9691c01ee06bb50520df4fe14c5c89ea313e384
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 9eb5a4155fb603f79b59a30cd1750682455e8e67e8bd3783ffd7e90fea56bdc6
[INFO] running `Command { std: "docker" "start" "-a" "9eb5a4155fb603f79b59a30cd1750682455e8e67e8bd3783ffd7e90fea56bdc6", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling pkg-config v0.3.18
[INFO] [stderr]    Compiling cc v1.0.59
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]     Checking lazy_static v0.2.11
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]    Compiling khronos_api v1.0.1
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]     Checking either v1.6.0
[INFO] [stderr]     Checking inflate v0.1.1
[INFO] [stderr]     Checking glob v0.2.11
[INFO] [stderr]     Checking piston-texture v0.4.0
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]    Compiling phf_shared v0.7.24
[INFO] [stderr]    Compiling xml-rs v0.6.1
[INFO] [stderr]     Checking gif v0.8.0
[INFO] [stderr]     Checking pistoncore-input v0.12.0
[INFO] [stderr]    Compiling phf v0.7.24
[INFO] [stderr]     Checking piston2d-graphics v0.16.0
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.5
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling rayon v1.4.0
[INFO] [stderr]    Compiling num-iter v0.1.41
[INFO] [stderr]    Compiling xml-rs v0.7.0
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling freetype-sys v0.3.1
[INFO] [stderr]    Compiling gl_generator v0.5.5
[INFO] [stderr]     Checking pistoncore-window v0.19.0
[INFO] [stderr]    Compiling miniz-sys v0.1.12
[INFO] [stderr]    Compiling libz-sys v1.1.2
[INFO] [stderr]    Compiling gl_generator v0.6.1
[INFO] [stderr]     Checking crossbeam-channel v0.4.4
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking fs2 v0.2.5
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]     Checking memmap v0.2.3
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking crossbeam-deque v0.7.3
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking enum_primitive v0.1.1
[INFO] [stderr]     Checking rayon-core v1.8.0
[INFO] [stderr]     Checking pistoncore-event_loop v0.22.1
[INFO] [stderr]    Compiling glutin v0.5.2
[INFO] [stderr]     Checking piston v0.22.1
[INFO] [stderr]     Checking flate2 v0.2.20
[INFO] [stderr]     Checking freetype-rs v0.7.0
[INFO] [stderr]    Compiling serde_json v0.9.10
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking num-bigint v0.1.44
[INFO] [stderr]     Checking tempfile v2.2.0
[INFO] [stderr]     Checking png v0.5.2
[INFO] [stderr]    Compiling gl v0.6.5
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]     Checking num-rational v0.1.42
[INFO] [stderr]    Compiling target_build_utils v0.3.1
[INFO] [stderr]     Checking jpeg-decoder v0.1.20
[INFO] [stderr]     Checking image v0.9.1
[INFO] [stderr]    Compiling libloading v0.3.4
[INFO] [stderr]     Checking piston2d-opengl_graphics v0.28.2
[INFO] [stderr]     Checking dlib v0.3.1
[INFO] [stderr]     Checking wayland-sys v0.5.11
[INFO] [stderr]     Checking wayland-client v0.5.12
[INFO] [stderr]     Checking wayland-window v0.2.3
[INFO] [stderr]     Checking wayland-kbd v0.3.6
[INFO] [stderr]     Checking pistoncore-glutin_window v0.26.1
[INFO] [stderr]     Checking rustgame v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self::piston::event_loop::*`
[INFO] [stdout]  --> src/game.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use self::piston::event_loop::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Add`
[INFO] [stdout]   --> src/game.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::ops::Add;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashMap`
[INFO] [stdout]   --> src/game.rs:13:24
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]    |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::piston::event_loop::*`
[INFO] [stdout]  --> src/game.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use self::piston::event_loop::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Add`
[INFO] [stdout]   --> src/game.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::ops::Add;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashMap`
[INFO] [stdout]   --> src/game.rs:13:24
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]    |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]   --> src/question.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 19 |           match (a_option, b_option) {
[INFO] [stdout]    |  _________-
[INFO] [stdout] 20 | |             (Some(ref mut a), Some(ref mut b)) => {
[INFO] [stdout] 21 | |                 a.x += b.x;
[INFO] [stdout] 22 | |                 a.y += b.y;
[INFO] [stdout] 23 | |
[INFO] [stdout] 24 | |                 (Some(a), Some(b))
[INFO] [stdout]    | |                 ------------------ this is found to be of type `(Option<&mut Point>, Option<&mut Point>)`
[INFO] [stdout] 25 | |             },
[INFO] [stdout] 26 | |             (a, b) => (a, b)
[INFO] [stdout]    | |                       ^^^^^^ expected `&mut Point`, found struct `Point`
[INFO] [stdout] 27 | |         };
[INFO] [stdout]    | |_________- `match` arms have incompatible types
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `(Option<&mut Point>, Option<&mut Point>)`
[INFO] [stdout]              found tuple `(Option<Point>, Option<Point>)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustgame`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/game.rs:178:20
[INFO] [stdout]     |
[INFO] [stdout] 178 |                         'move_x: for i in 0..4 {
[INFO] [stdout]     |                                      ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/game.rs:196:20
[INFO] [stdout]     |
[INFO] [stdout] 196 |                         'move_y: for i in 0..4 {
[INFO] [stdout]     |                                      ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `up`
[INFO] [stdout]    --> src/game.rs:215:33
[INFO] [stdout]     |
[INFO] [stdout] 215 |                     &Flag::Input {left, right, up, down, jump} => {
[INFO] [stdout]     |                                                ^^ help: try ignoring the field: `up: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `down`
[INFO] [stdout]    --> src/game.rs:215:37
[INFO] [stdout]     |
[INFO] [stdout] 215 |                     &Flag::Input {left, right, up, down, jump} => {
[INFO] [stdout]     |                                                    ^^^^ help: try ignoring the field: `down: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pos`
[INFO] [stdout]    --> src/game.rs:304:10
[INFO] [stdout]     |
[INFO] [stdout] 304 |                     let ref pos = entity.position;
[INFO] [stdout]     |                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `square`
[INFO] [stdout]    --> src/game.rs:295:7
[INFO] [stdout]     |
[INFO] [stdout] 295 |         let mut square = rectangle::square(0.0, 1.0, 50.0);
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_square`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/game.rs:295:7
[INFO] [stdout]     |
[INFO] [stdout] 295 |         let mut square = rectangle::square(0.0, 1.0, 50.0);
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `add`
[INFO] [stdout]   --> src/game.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn add(&self, other: Vector2D) -> Vector2D {
[INFO] [stdout]    |        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `to_unit`
[INFO] [stdout]   --> src/game.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn to_unit(&self) -> Vector2D {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `len_sq`
[INFO] [stdout]   --> src/game.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn len_sq(&self) -> f64 {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `len`
[INFO] [stdout]   --> src/game.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn len(&self) -> f64 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `min`
[INFO] [stdout]   --> src/game.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 86 |     fn min(&self) -> Vector2D {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `max`
[INFO] [stdout]   --> src/game.rs:90:5
[INFO] [stdout]    |
[INFO] [stdout] 90 |     fn max(&self) -> Vector2D {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `to_array`
[INFO] [stdout]    --> src/game.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout] 102 |     fn to_array(&self) -> [f64; 4] {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]   --> src/question.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 19 |           match (a_option, b_option) {
[INFO] [stdout]    |  _________-
[INFO] [stdout] 20 | |             (Some(ref mut a), Some(ref mut b)) => {
[INFO] [stdout] 21 | |                 a.x += b.x;
[INFO] [stdout] 22 | |                 a.y += b.y;
[INFO] [stdout] 23 | |
[INFO] [stdout] 24 | |                 (Some(a), Some(b))
[INFO] [stdout]    | |                 ------------------ this is found to be of type `(Option<&mut Point>, Option<&mut Point>)`
[INFO] [stdout] 25 | |             },
[INFO] [stdout] 26 | |             (a, b) => (a, b)
[INFO] [stdout]    | |                       ^^^^^^ expected `&mut Point`, found struct `Point`
[INFO] [stdout] 27 | |         };
[INFO] [stdout]    | |_________- `match` arms have incompatible types
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `(Option<&mut Point>, Option<&mut Point>)`
[INFO] [stdout]              found tuple `(Option<Point>, Option<Point>)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/game.rs:178:20
[INFO] [stdout]     |
[INFO] [stdout] 178 |                         'move_x: for i in 0..4 {
[INFO] [stdout]     |                                      ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/game.rs:196:20
[INFO] [stdout]     |
[INFO] [stdout] 196 |                         'move_y: for i in 0..4 {
[INFO] [stdout]     |                                      ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `up`
[INFO] [stdout]    --> src/game.rs:215:33
[INFO] [stdout]     |
[INFO] [stdout] 215 |                     &Flag::Input {left, right, up, down, jump} => {
[INFO] [stdout]     |                                                ^^ help: try ignoring the field: `up: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `down`
[INFO] [stdout]    --> src/game.rs:215:37
[INFO] [stdout]     |
[INFO] [stdout] 215 |                     &Flag::Input {left, right, up, down, jump} => {
[INFO] [stdout]     |                                                    ^^^^ help: try ignoring the field: `down: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pos`
[INFO] [stdout]    --> src/game.rs:304:10
[INFO] [stdout]     |
[INFO] [stdout] 304 |                     let ref pos = entity.position;
[INFO] [stdout]     |                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `square`
[INFO] [stdout]    --> src/game.rs:295:7
[INFO] [stdout]     |
[INFO] [stdout] 295 |         let mut square = rectangle::square(0.0, 1.0, 50.0);
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_square`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/game.rs:295:7
[INFO] [stdout]     |
[INFO] [stdout] 295 |         let mut square = rectangle::square(0.0, 1.0, 50.0);
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `add`
[INFO] [stdout]   --> src/game.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn add(&self, other: Vector2D) -> Vector2D {
[INFO] [stdout]    |        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `to_unit`
[INFO] [stdout]   --> src/game.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn to_unit(&self) -> Vector2D {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `len_sq`
[INFO] [stdout]   --> src/game.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn len_sq(&self) -> f64 {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `len`
[INFO] [stdout]   --> src/game.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn len(&self) -> f64 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `min`
[INFO] [stdout]   --> src/game.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 86 |     fn min(&self) -> Vector2D {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `max`
[INFO] [stdout]   --> src/game.rs:90:5
[INFO] [stdout]    |
[INFO] [stdout] 90 |     fn max(&self) -> Vector2D {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `to_array`
[INFO] [stdout]    --> src/game.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout] 102 |     fn to_array(&self) -> [f64; 4] {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "9eb5a4155fb603f79b59a30cd1750682455e8e67e8bd3783ffd7e90fea56bdc6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9eb5a4155fb603f79b59a30cd1750682455e8e67e8bd3783ffd7e90fea56bdc6", kill_on_drop: false }`
[INFO] [stdout] 9eb5a4155fb603f79b59a30cd1750682455e8e67e8bd3783ffd7e90fea56bdc6
